package com.alex.springbootdemo.common;

public class CommonEnum {


    public enum AdminStatus {

        DISABLE(0, "禁用"),
        ENABLE(1, "正常");

        private Integer code;
        private String description;

        AdminStatus(Integer code, String description) {
            this.code = code;
            this.description = description;
        }

        public Integer getCode() {
            return code;
        }

        public void setCode(Integer code) {
            this.code = code;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }
}
